package com.yf.idmt.exception;

/**
 * @author Yang_Vincent
 * @date 2020/12/30 10:17
 */

public class MyIdempotentException extends RuntimeException {

    private String msg;

    private Integer code;

    public MyIdempotentException(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
